
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置TicketPrice的AutoMapper
    /// </summary>
	internal static class TicketPriceMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <TicketPrice,TicketPriceListDto>();
            configuration.CreateMap <TicketPriceListDto,TicketPrice>();

            configuration.CreateMap <TicketPriceEditDto,TicketPrice>();
            configuration.CreateMap <TicketPrice,TicketPriceEditDto>();

        }
	}
}
